<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue_test01</title>
    <script src="../js/vue2.js"></script>
</head>
<body>
    <div id="app">
        <a v-bind:href="url">链接测试1</a><br>
        <a :href="url">链接测试2</a><br>

        <input v-model="url" type="text" /><br>
    </div>
    
</body>
<script>
    new Vue({
        el: "#app",/* vue接管区域 */
        data: {
            url: "https://www.baidu.com"
        }
    })
</script>
</html>